home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
InfoMagic Standards 1994 January
/
InfoMagic Standards - January 1994.iso
/
iso
/
9660
/
rockrdge
/
rrg.11
/
api.begin.nr
next >
Wrap
Text File
|
1992-08-19
|
2KB
|
54 lines
.sp
.H 1 "RRIP APPLICATION PROGRAMMING INTERFACE (API)"
.sp
This section specifies an Application Programming Interface (API)
for the Rock Ridge Interchange Protocol which is implemented on top
of the System Use Sharing Protocol. This API is a supplement to the
X/Open CD-ROM Support Component (XCDR).
.sp
.H 2 "Mapping Device Files"
.sp
The major and minor numbers of device files as recorded in the System
Use Area on the CD-ROM may not match the major and minor numbers
of the physical devices.
If that is the case, the command,
.I cddevsuppl\^
can be used to change the major and minor numbers of a specific
device file on the CD-ROM.
.sp
If the system imposes a maximum value on the number of device file
mappings, this will be defined via the symbolic name CD_MAXDMAP in
.I <sys/cdrom.h>.\^
At least 50 device file mappings will be supported.
.sp
.H 2 "Obtaining CD-ROM Specific Information"
.sp
.H 3 "System Use Sharing Protocol Fields"
.sp
The CD-ROM contains System Use Fields in the System Use Areas which are
specific to the CD-ROM and cannot be obtained by standard XSI system
interfaces.
Using the command
.I cdsuf,\^
or the equivalent library function, all additional information in a
file or directory System Use Field can be accessed.
.sp
.H 3 "Changing PX Field Information"
.sp
The "POSIX File User ID" and "POSIX File Group ID" can be mapped on the
receiving system by using commands and library functions supplied by
the X/Open CD-ROM Support Component (XCDR).
.sp
.H 3 "File Name Resolution"
.sp
The fields
.I file,\^
.I filename,\^
.I path,\^
and
.I pathname\^
shall be resolved according to the Rock Ridge Interchange Protocol, which
may be the ISO 9660 name or RRIP name depending on whether an "NM" System
Use Field is present for any component of that filename.
.bp